package net.csdra.libraryborrowing.service;

import net.csdra.libraryborrowing.domain.Address;

import java.util.List;

/**
 * Created by xiaomi on 2017/10/17.
 */
public interface AddressService {

    /**
     * 根据父级id查询地址（节点）列表
     *
     * @param getAddressList
     * @return
     */
    List<Address> getAddressList(GetAddressList getAddressList);

    class GetAddressList {
        String metaId;

        public String getMetaId() {
            return metaId;
        }

        public void setMetaId(String metaId) {
            this.metaId = metaId;
        }
    }
}
